import 'package:flutter/material.dart';
import 'package:movie_app/widgets/toggle_theme_widget.dart';

class HomePage extends StatefulWidget {
  @override
  State createState() => HomePageState();
}

class HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        actions: <Widget>[
          ToggleThemeButton(),
          IconButton(
            icon: Icon(Icons.search, color: Colors.white),
            onPressed: null,
          ),
        ],
      ),
      body: Container(),
    );
  }

  @override
  void initState() {
    super.initState();
    //_pageController = PageController();
  }

  @override
  void dispose() {
    super.dispose();
    //_pageController.dispose();
  }
}
